import request from '@/utils/request'

// 查询固废排放计划申报列表
export function listProjectReport (query) {
  return request({
    url: '/projectManage/projectReport/list',
    method: 'get',
    params: query
  })
}

// 查询固废排放计划申报详细
export function getProjectReport (id) {
  return request({
    url: '/projectManage/projectReport/' + id,
    method: 'get'
  })
}

// 新增固废排放计划申报
export function addProjectReport (data) {
  return request({
    url: '/projectManage/projectReport',
    method: 'post',
    data: data
  })
}

// 修改固废排放计划申报
export function updateProjectReport (data) {
  return request({
    url: '/projectManage/projectReport',
    method: 'put',
    data: data
  })
}

// 删除固废排放计划申报
export function delProjectReport (id) {
  return request({
    url: '/projectManage/projectReport/' + id,
    method: 'delete'
  })
}

// 新增固废排放计划申报
export function approve (data) {
  return request({
    url: '/projectManage/projectReport/approve',
    method: 'post',
    data: data
  })
}